<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>开始测试</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
		<script type="text/javascript" src="__JS__/jshelper.js"></script> 
		<script type="text/javascript" src="__JS__/jQuery/jquery.js"></script>
       	<script type="text/javascript" src="__JS__/jQuery/jquery.form.js"></script>
	</head>
	<body>	
	<!-- layout::Auth:header::0 -->
        	<div class="container-fluid">
     			<div class="row-fluid">
                	<!-- layout::Auth:leftmenu::0 -->
                    	<div class="span8">
                          <div class="hero-unit">
                            <h1>开始测试（简答题）</h1>
                            <p style="font-size:12px">当前位置：
                                <a href='__APP__/index/index' class="nowpositionhref">主页</a>>
                                <a href='__URL__/index' class="nowpositionhref">后台管理</a>>
                                <a href="__URL__/mytest" class="nowpositionhref" >我的测试</a>>
                                <a href="">开始测试（简答）</a>		
							</p>
                          </div>
				
					<load href"__PUBLIC__/js/list_show.js">
					<form id="form2" name="form2" method="post" action="__URL__/sasave">                       
                    	<table width="100%"class="table table-bordered table-striped">
                        	<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><input type='hidden' name='testid' value='<?php echo ($vo["testid"]); ?>'>
                        <input type='hidden' name='no' value='<?php echo ($no); ?>'>
                        <input type='hidden' name='saqid' value='<?php echo ($vo["saqid"]); ?>'>
                        <input type='hidden' name='number' value='<?php echo ($number); ?>'>
                        <input type='hidden' name='number1' value='<?php echo ($number1); ?>'>
                        <input type='hidden' name='score1' value='<?php echo ($vo["score"]); ?>'>
                        	<tr>
                            	<td colspan="2">简答题</td>
                            </tr>
                        	<tr>
                            	<td width="20%">题号</td>
                                <td width="80%"><?php echo ($number1); ?></td>
                            </tr>
                            <tr>
                            	<td>分值</td>
                                <td><?php echo ($vo["score"]); ?></td>
                            </tr>
                            <tr>
                            	<td colspan="2"><?php echo ($vo["name"]); ?></td>
                            </tr>
                            <tr>
                            	<td colspan="2"><textarea name="answer" style="width:97%;" value='<?php echo ($vo["answer"]); ?>'></textarea></td>
                            </tr>
                            <tr>
                            	<td colspan="2">
                                
                                        <a href="javascript:history.back()" class="btn btn-info">上一题</a>
                                        <input name="submit" type="submit" value="下一题" class="btn btn-info" style="width:80px;" >
                                    
                                </td>
                            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                        </table>
					</form>
			
			</div>
		</div>
		</div>
	</body>
</html>